import pytest
from selenium import webdriver

@pytest.fixture(scope='session')
def selenium():
    d = webdriver.Chrome()
    yield d
    d.quit()